package org.sith.taskrunner.api.abstracts;

import org.sith.taskrunner.api.task.TaskExecutionResult;

/**
 * This class provides a skeletal implementation of the {@link org.sith.taskrunner.api.task.TaskExecutionResult}
 * interface to minimize the effort required to implement this interface.
 * 
 */
public abstract class AbstractTaskExecutionResult<T> implements TaskExecutionResult {
    private T result;

    protected AbstractTaskExecutionResult(T result) {
        this.result = result;
    }

    @Override
    public T getResult() {
        return result;
    }
}
